#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPaintEvent>
#include "inputform.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

protected:
    void paintEvent(QPaintEvent *);

private slots:
    void closeInputForm();
    void on_hiragana_triggered();

    void on_katakana_triggered();

    void on_kana_triggered();

    void on_voiced_triggered();

    void on_youon_triggered();

private:
    Ui::MainWindow *ui;
    InputForm *input;
};
#endif // MAINWINDOW_H
